package com.example.springframeworklearning.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author luo
 * @since 2022/9/19 15:17
 */
@Data
public class OrderItem {

    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
